#include "LLogic##NAME##.h"
#include "GLGlobalProtocol.h"

CLLogic##NAME##::CLLogic##NAME##(void)
{
}


CLLogic##NAME##::~CLLogic##NAME##(void)
{
}

void CLLogic##NAME##::LogicInit() {
	//	AddLogicType(DCLTUserInfo);
}

bool CLLogic##NAME##::CatchLogic(const ProtocolBase *head, char * data, uint32_t len, void * connect) {
	LSocket* tConnect = (LSocket*)(connect);
	switch (head->m_Logic) {
	case GLSLTGroupPerson:
		if (head->m_From == GLPFromServer) {
			switch (head->m_Action) {
			case GLPAGet:
				//onGetList(head, data, len);
				break;
			default:
				return false;
				break;
			}
		}
		break;
	default:
		return false;
		break;
	}
	return true;
}
/*
void CLLogic##NAME##::Create() {
	CreateGroupReq	tCreate;
	tCreate.m_UserId = m_Oneself->GetBaseInfo().m_Uid;

	m_LogicConnect->SendLenAndData((const char*)&tCreate, sizeof(tCreate));
}
*/
